package com.wwmz.simple.responsibility.authority;

/**
 * 课程加权限
 * Created by wumz on 2020/9/13 16:02
 */
public class CourseImpl implements ICourseInfo,ICourseManager {
    String userName;
    String address;


    private void modifyUserInfo(String userName,String address){
        userName = "Tom";
        address = "Changsha";
    }


    private void modifyUserInfo(String userName,String... fileds){
        userName = "Tom";
         address = "Changsha";
    }
    private void modifyUserInfo(String userName,String address,boolean bool){
        if(bool){

        }else{

        }
        userName = "Tom";
        address = "Changsha";
    }






    @Override
    public String getCourseName() {
        return this.userName;
    }

    @Override
    public byte[] getCourseVideo() {
        return new byte[0];
    }

    @Override
    public void studyCourse() {

    }

    @Override
    public void refundCourse() {

    }
}
